/*
    Contact info:
    bhepple@freeshell.org
    http://bhepple.freeshell.org/scrmgr

    Copyright (C) 1991-2008 Bob Hepple

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; see the file COPYING.  If not, write to
    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.

*/
#ifndef XVIEW_DEFS
#define XVIEW_DEFS
void smxview_init	HARG3(int,		screen_mode, 
			      int,		argc, 
			      char **,		argv);
int  smxview_mouse	HARG3(int *,		row, 
			      int *,		col, 
			      int *,		time_delta);
int  smxview_popup	HARG4(int,		num_rows, 
			      int,		num_cols, 
			      int,		row, 
			      int,		col);
void smxview_beep	NOARGS;		    
void smxview_clear	HARG1(int,		window);
void smxview_clrline	HARG1(int,		window);
void smxview_delwin	HARG1(int,		window);
void smxview_enh	HARG2(int,		window, 
			      int,		enhancement);
void smxview_enq	HARG3(int,		window, 
			      int *,		row, 
			      int *,		col);
void smxview_enq_screen HARG2(int *,		row, 
			      int *,		col);
void smxview_getyx	HARG3(int,		window, 
			      int *,		row, 
			      int *,		col);
void smxview_goto	HARG3(int,		window, 
			      int,		row, 
			      int,		col);
void smxview_main_loop	HARG1(f_ptr,		got_a_command);
int smxview_maxcol	HARG2(int,		window, 
			      int,		col_desired);
void smxview_msg	HARG1(char *,		s);
void smxview_puts	HARG2(int,		window, 
			      char *,		s);
void smxview_refresh	NOARGS;
void smxview_term	NOARGS;
void smxview_paint_skey HARG3(int, 		i,
			      char *,		upper,
			      char *,		lower);
int  smxview_confirm_notice 
			HARG1(char *, 		s);
void smxview_error_notice 
    			HARG1(char *, 		s);
void smxview_line_error_notice 
			HARG2(char *, 		msg, 
			      CHAR *, 		offense);
void smxview_main_loop 	HARG1(f_ptr, 		got_a_command);
void *smxview_create_fld 
			HARG3(int, 		row, 
			      int, 		col, 
			      int, 		len);
void smxview_set_fld 	HARG2(void *, 		fld, 
			      char *, 		val);

#endif

/* For emacs:
 * Local Variables:
 * tab-width: 8
 * End:
 */
